export enum EProductType {
  /**课程 */
  COURSE = 100,
  /**实物 */
  ENTITY = 101,
  /**金币 */
  GOLD_COIN = 102,
  /**优惠券 */
  COUPON = 201,
  /** 兑换卡*/
  GIFT_CARD = 203,
  /** 次卡*/
  FREQUENCY_CARD = 230,
  /**钱币 */
  COIN = 204,
}
export enum EOrderStatus {
  /**下单过程失败 */
  error = -1,
  /**未支付 */
  notPay = 1,
  /**支付中 */
  paying = 2,
  /**支付完成 */
  paySuccess = 3,
  /**手动取消未支付订单 */
  handerChannalOrder = 4,
  /**自动取消未支付订单 */
  channalOrder = 5,
  /**交易完成*/
  orderClose = 12,
  /**交易完成*/
  orderSussess = 15,
}

export enum EOrderType {
  /**普通订单 */
  commonOrder = 1,
  /**商城订单 */
  shoppingOrder = 2,
  /**团购订单 */
  groupOrder = 3,
  /**夸大刚订单 */
  stuCould = 4,
  /**预售订单 */
  presellOrder = 5,
}
export enum EOperateStatus {
  /**重新报名 */
  reApply = 1,
  /**立即支付 */
  payment = 2,
  /**支付定金 */
  payInAdvance = 3,
  /**支付尾款 */
  payTheBalance = 4,
  /**预付款 */
  advance = 8,
}

export enum EOrderSource {
  COMMON = 1, // 其他来源, 以及旧版app商城来源
  SHOPPING_CART = 2, // 来源为购物车
  CONTINUT_BUY = 3, // 来源为续报列表
  LEARNING_COIN_MALL = 4, // 来源于学币商城
  ADJUST_COURSE_CENTER = 5, // 调换课中心
  EXPAND_SUBJECTS_MALL = 6, // 商城扩科推荐来源
  MALL = 7, // 商城来源
  UNION_PAGE = 8, // 优选课联报页
  MINI_MALL = 9, // 迷你商城课程详情页
  THIRD_PAY = 10, // 三方支付成功订单 - eg:有赞
  DOU_YIN = 11, // 抖音
  TIAN_MAO = 12, // 天猫(大海事业部)
  TIAN_MAO_GROWTH = 13, // 天猫(增长研发)
  XIAO_SOU_TI = 14, // 晓搜题
  XES_MINI_PROGRAM = 15, // 学而思网校小程序
  THREE_SEASON_UNION_INSTANT_BUY = 16, // 三季联报-立即购买
  THREE_SEASON_UNION_ADD_CART = 17, // 三季联报-加车
  H5_CNT_BUY = 18, // H5续报中心
  BOUTIQUE_COURSE_BUY = 19, // 精品课约课
  PDD_MALL = 20, // 拼多多商城
  EXPLOSIVE_COURSE_BUY = 21, // 爆品课约课
  XIAO_HONG_SHU = 22, // 小红书
  DY_MINI_MALL = 23, // 抖音小店
  DY_MALL = 24, // 抖音店铺
  SPECIAL_CLASS = 25, // 特训班课程售卖
  E_ZAO = 26, // 一早渠道
  GREAT_MASTER = 27, // 大师课落地页
  PDD_SPRING_FESTIVAL = 28, // 拼多多春晚
  ALIPAY_MINI_APPS = 29, // 支付宝小程序活动页
  SPRING_STUDY_ROOM = 30, // 春节自习室，虚拟的录播课
  KUAI_SHOU_DELIVERY = 31, // 快手带货
  JD_DELIVERY = 32, // 京东带货
  BUY_COUPON = 33, // 膨胀券活动页
  LP_RECOM = 34, // LP推荐
  AO_DAO = 35, // 傲道
  SCHOOL_BUSINESS = 36, // 校园业务
  ENTRY_GRADE_RECOM = 37, // 入口年级推荐
  APP_MULT_SEASON = 38, // App多季打包售卖
  XRKMM = 39, // 向日葵妈妈
  GIVING_COURSE = 44, // 51赠课
  KS_LOCAL_LIFE = 47, // 快手本地生活
  BE_BATCH_ORDER = 56, // 后台批量下单
  K9 = 68, // k9的活动不校验考试
}

export enum EPayDevice {
  PC_WEB = 1,
  IPAD_HD = 2,
  TOUCH = 3,
  APP = 4,
  /** Android pad*/
  AND_PAD = 5,
  /**WinPhone */
  WIN_PHONE = 6,
  /** IPHONE_IOS*/
  IPHONE_IOS = 7,
  /**Android phone */
  AND_PHONE = 8,
  /**PC 客户端 */
  PC_CLIENT = 9,
  /**iOS的招商银行APP */
  IOS_CMB = 50,
  /**Android的招商银行APP */
  AND_CMB = 51,
  /**抖音小程序 */
  BYTE_DANCE = 21,
  /** //APP子账号*/
  APP_SUB_ACCOUNT = 101,
  /**PC客户端内置浏览器 */
  BROWSER_BUILT_IN_PC_CLIENT = 102,
  /**BROWSER_BUILT_IN_PHONE */
  BROWSER_BUILT_IN_PHONE = 103,
  /**家长会Web聊天 */
  WEB_CHAT_USED_IN_PARENTS_MEETING = 104,
  /**小程序 */
  MINI_PROGRAM = 113,
  /**商城小程序 */
  MINI_PROGRAM_IN_SHOP = 114,
}

export enum ECouponType {
  /** 优惠券订单券*/
  OrderCode = 1,
}

export enum PromotionType {
  /** 'noPromotion'; // 无促销*/
  NO_PROM_ID = 0, //'noPromotion'; // 无促销
  /** 'conDiscount'; //续报*/
  CON_DISCOUNT_ID = 1, //'conDiscount'; //续报
  /** 'firstBuy'; //首单*/
  FIRST_BUY_ID = 2, //'firstBuy'; //首单
  /**联报 - (老版:原班一对一联报) */
  U_DISCOUNT_ID = 3, //联报 - (老版:原班一对一联报)
  /**; //ios涨价 */
  PRICE_RISE_ID = 5,
  /**'giveaway'; //买赠 */
  GIVE_WAY_ID = 7,
  /**'conPackage'; //买赠 */
  PACKAGE_ID = 17,
  /** 'groupon'; //团购 */
  GROUPON_ID = 8,
  /** 'priceOff'; //限时直降 */
  E_OFF_ID = 9,
  /** 'bargain'; //砍价 */
  BARGAIN_ID = 10,
  /** 'changeCourse'; //跨难度调课 */
  CHANGE_COURSE_ID = 11,
  /**'presale'; //预售 */
  PRE_SALE_ID = 12,
  /**'union'; //新版联报 */
  UNION_ID = 14,
  /** 'additionalOrder'; 单优惠*/
  ADDITIONAL_ORDER_ID = 15,
  /**ubtotal'; //小计促销 */
  SUB_TOTAL_ID = 20,
  /**'fullPriceOff'; //满减/折 */
  FULL_PRICE_OFF_ID = 21,
  /**'fullDiscount'; //满折(弃用) */
  FULL_DISCOUNT_ID = 22,
  /**'fullFree'; //满免 */
  FULL_FREE_ID = 23,
  /** 'fullGive'; //满赠 */
  FULL_GIVE_ID = 24,
  /**'fllExchange'; //加价购 */
  FULL_EXCHANGE_ID = 25,
  /** 'newchangeCourse'; //新跨难度调课 */
  NEW_CHANGE_COURSE_ID = 41,
  /**'shoppingCart'; //购物车 */
  SHOPPING_CART_ID = 101,
  /**'youZan'; //有赞 */
  YOU_ZAN_ID = 200,
  /** 'youZanProm'; //有赞 */
  YOU_ZAN_PROM_ID = 201,
  /**'youZanProm'; //有赞 */
  YOU_ZAN_PAY_ID = 202,
  /** '礼品卡实付金额'; //礼品卡实付金额 */
  PRE_PAID_CARD_REAL_PAID_ID = 1101,
  /** '礼品卡赠送金额'; //礼品卡赠送金额 */
  PRE_PAID_CARD_GIFT_PAID_ID = 1102,
  /**'奖学金订单券类型'; //订单新促销表中促销类型 */
  COUPON_ORDER_CATE_ID = 1201,
  /**'奖学金商品券类型'; */
  COUPON_PRODUCT_CATE_ID = 1202,
  /** '奖学金现金券类型'; */
  COUPON_CASH_CATE_ID = 1203,
  /** '金币优惠'; */
  GOLD_COIN_ID = 1301,
  /**'post_giveaway'; //后置赠课*/
  POST_GIVEAWAY_ID = 2001,
  /**'后台批量下单' */
  BE_BATCH_ORDER_ID = 1401,
  /**'学习卡订单'; */
  STU_CARD_ORDER_ID = 2233,
  /** 'CMBProm'; //招行随机立减 */
  CMB_PROM_ID = 30,
  /** 'AliPayMPProm'; //支付宝小程序支付优惠 */
  ALIPAY_MP_PROM_ID = 31,
}

export enum EPayCode {
  /** //京东码支付*/
  JD_PAY_BY_QR_CODE = 110001,
  /**京东H5支付 */
  JD_PAY_BY_H5 = 110002,
  /**京东APP支付 */
  JD_PAY_BY_APP = 110003,
  /** 京东网页支付*/
  JD_PAY_BY_WEB = 110004,
  /** 余额支付*/
  BALANCE = 301000,
  /**支付宝 */
  ALIPAY = 401001,
  ALIPAY_BY_QR_CODE = 401002, //支付宝扫码支付
  ALIPAY_BY_H5 = 401003, //支付宝touch
  ALIPAY_BY_APP = 401004, //支付宝网页app

  ICBCB2C = 401101, //工商银行
  CCB = 401104, //建设银行
  CMB = 401102, //招商银行
  ABC = 401103, //农业银行
  COMM = 401105, //交通银行
  GDB = 401106, //广东发展银行
  BOCB2C = 401109, //中国银行
  POSTGC = 401108, //中国邮政
  CITIC = 401107, //中信银行
  CIB = 401108, //兴业银行
  SPDB = 401111, //上海浦东发展银行
  HZCBB2C = 401113, //杭州银行
  BJRCB = 401114, //中国农村商业银行
  SHBANK = 401117, //上海银行
  FDB = 401118, //富滇银行
  NBBANK = 401120, //宁波银行

  D9BILL = 402001, //快钱

  BDPAY_BY_ALIPAY = 500000, //抖音小程序通过支付宝支付
  BDPAY = 500001, //抖音支付

  BAIDU_PAY_BY_MP = 600000, //百度小程序支付

  WECHAT_PAY_BY_OA = 801000, //微信公众号支付
  WECHAT_PAY_BY_APP = 802000, //微信App支付
  WECHAT_PAY_BY_QR_CODE = 803000, //微信扫码支付
  WECHAT_PAY_BY_H5 = 804000, //微信H5支付
  WECHAT_PAY_SENIOR_GROUPON_BY_MP = 805000, //高三拼团小程序
  WECHAT_PAY_BY_APP2 = 806000, //微信App支付
  WECHAT_PAY_IN_FASTAPP = 807000, //快应用微信支付
  WECHAT_PAY_CLASSICAL_COURSE_BY_MP = 808000, //精品课小程序
  WECHAT_PAY_SHORT_COURSE_BY_MP = 809000, //短期班小程序
  WECHAT_PAY_CLASSICAL_COURSE2_BY_MP = 810000, //精品课小程序

  APPLE_PAY = 901000, //苹果App支付
  APPLE_PAY2 = 901001, //新的苹果App支付

  CMB_PAY_BY_H5 = 190001, //招行内接一卡通支付H5支付
  CMB_PAY_BY_WEB = 200001, //招行外接一卡通支付PC
  CMB_PAY_BY_H5_OUTSIDE = 200002, //招行外接一卡通支付H5
  CMB_PAY_BY_APP = 200003, //招行外接一卡通支付APP
}

export enum EcouponType {
  cash = 1,
  order = 2,
  none = 0,
}
